import { App } from 'vue'
import createLoadingLikeDirective from './loading'
import Loading from './index.vue'
const plugin = {
  install: (app: App<Element>) => {
    app.directive('loading', createLoadingLikeDirective(Loading))
  },
}
export default plugin
